package com.xxl.job.admin.core.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @author bbshi
 * @date 2023/1/4 13:44
 */
public class PkpmJobTask implements Serializable {

    private static final long serialVersionUID = -9166590660694861410L;
    /**
     * uuid，主键
     */
    private String id;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建人用户id
     */
    private String createUser;
    /**
     * 删除标识('Y':已删除,'N':正常)
     */
    private String deleteFlag;
    /**
     * 作业结束时间
     */
    private Date endTime;
    /**
     * 执行结果描述
     */
    private String executeResult;
    /**
     * 作业名称
     */
    private String taskName;

    /**
     * 作业类型
     */
    private String taskType;
    /**
     * 作业状态(0:开始,1:进行中,2:失败,3:完成,4:终止)
     */
    private String taskStatus;
    /**
     * 作业开始时间
     */
    private Date startTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 修改人用户id
     */
    private String updateUser;
    /**
     * 文件上传结果描述
     */
    private String uploadResult;
    /**
     * 执行命令
     */
    private String command;
    /**
     * 进程id
     */
    private long processId;

    /**
     * 命令执行结果码(0:成功,其他:异常)
     */
    private int exitCode;
    /**
     * 读取标志(0:已读,1:未读,2:忽略)
     */
    private int readFlag;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getExecuteResult() {
        return executeResult;
    }

    public void setExecuteResult(String executeResult) {
        this.executeResult = executeResult;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUploadResult() {
        return uploadResult;
    }

    public void setUploadResult(String uploadResult) {
        this.uploadResult = uploadResult;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public long getProcessId() {
        return processId;
    }

    public void setProcessId(long processId) {
        this.processId = processId;
    }

    public int getExitCode() {
        return exitCode;
    }

    public void setExitCode(int exitCode) {
        this.exitCode = exitCode;
    }

    public int getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(int readFlag) {
        this.readFlag = readFlag;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

}
